-
Notifications
You must be signed in to change notification settings - Fork 917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Workspace] Add User level setting #7953
[Workspace] Add User level setting #7953
Conversation
❌ Empty Changelog SectionThe Changelog section in your PR description is empty. Please add a valid changelog entry or entries. If you did add a changelog entry, check to make sure that it was not accidentally included inside the comment block in the Changelog section. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7953 +/- ##
========================================
Coverage 60.58% 60.59%
========================================
Files 3732 3738 +6
Lines 88431 88636 +205
Branches 13702 13763 +61
========================================
+ Hits 53579 53709 +130
- Misses 31592 31650 +58
- Partials 3260 3277 +17
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
6275d4e
to
de214ec
Compare
Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
b45550a
to
9dee281
Compare
Signed-off-by: Hailong Cui <[email protected]>
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch-Dashboards/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch-Dashboards/backport-2.x
# Create a new branch
git switch --create backport/backport-7953-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 569b70d885cec37ac83d133ef6d8ce0f6c03a02f
# Push it to GitHub
git push --set-upstream origin backport/backport-7953-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch-Dashboards/backport-2.x Then, create a pull request where the |
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch-Dashboards/backport-2.17 2.17
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch-Dashboards/backport-2.17
# Create a new branch
git switch --create backport/backport-7953-to-2.17
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 569b70d885cec37ac83d133ef6d8ce0f6c03a02f
# Push it to GitHub
git push --set-upstream origin backport/backport-7953-to-2.17
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch-Dashboards/backport-2.17 Then, create a pull request where the |
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch-Dashboards/backport-2.17 2.17
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch-Dashboards/backport-2.17
# Create a new branch
git switch --create backport/backport-7953-to-2.17
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 569b70d885cec37ac83d133ef6d8ce0f6c03a02f
# Push it to GitHub
git push --set-upstream origin backport/backport-7953-to-2.17
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch-Dashboards/backport-2.17 Then, create a pull request where the |
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch-Dashboards/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch-Dashboards/backport-2.x
# Create a new branch
git switch --create backport/backport-7953-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 569b70d885cec37ac83d133ef6d8ce0f6c03a02f
# Push it to GitHub
git push --set-upstream origin backport/backport-7953-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch-Dashboards/backport-2.x Then, create a pull request where the |
i will do manual backport due to const enableUserControl = core.uiSettings.get('theme:enableUserControl');
if (enableUserControl) {
setupTopNavThemeButton(core, core.uiSettings.get('home:useNewHomePage'));
} not available in 2.x |
(cherry picked from commit 569b70d)
(cherry picked from commit 569b70d) Signed-off-by: Hailong Cui <[email protected]>
(cherry picked from commit 569b70d)
(cherry picked from commit 569b70d) Signed-off-by: Hailong Cui <[email protected]>
* [Workspace] Add User level setting (#7953) (cherry picked from commit 569b70d) Signed-off-by: Hailong Cui <[email protected]> * add experimental to user personal settings and support i18n Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]>
* [Workspace] Add User level setting (#7953) (cherry picked from commit 569b70d) Signed-off-by: Hailong Cui <[email protected]> * add experimental to user personal settings and support i18n Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> (cherry picked from commit eccf54f) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* [Workspace] Add User level setting (#7953) (cherry picked from commit 569b70d) * add experimental to user personal settings and support i18n --------- (cherry picked from commit eccf54f) Signed-off-by: Hailong Cui <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Manually backported to 2.x with #8057 |
Description
This PR includes
Issues Resolved
#7821
#7909
Screenshot
user_settings.mov
Testing the changes
yarn start --no-base-path --workspace.enabled=true
a config doc with id
config:admin
been indexed and it has defaultWorkspace as "ABC"Changelog
Check List
yarn test:jest
yarn test:jest_integration